TypeError: Cannot read property 'constructor' of null
at createWorld.(anonymous) (C:\Users\matti\OneDrive\Skrivbord\Programming\imdb-group-c\step-definitions\imdb-menu.js:11:52)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Then(/^I have clicked on the menu button$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
Then(/^I have clicked on top rated movies$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
Then(/^I should be taken to the page with the list of top rated movies$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
Then(/^that I am on the top rated movies page$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
Then(/^I select sort by number of ratings in the sort by box$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
Then(/^the list should resort by number of ratings$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
Then(/^I have clicked on the munu button$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
Then(/^I have clicked on Most Popular Movies$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
Then(/^I should be directed to the Most Popular Movies page$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
Then(/^i click the search button$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
Then(/^I find the corresponding "([^"]*)" in the search results.$/, function(arg1, callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
Then(/^i click the search button$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
Then(/^I find the corresponding "([^"]*)" in the search results.$/, function(arg1, callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
TypeError: Cannot read property 'constructor' of null
at createWorld.(anonymous) (C:\Users\matti\OneDrive\Skrivbord\Programming\imdb-group-c\step-definitions\imdb-menu.js:11:52)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Then(/^I have clicked on the menu button$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
Then(/^I have clicked on top rated movies$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
Then(/^I should be taken to the page with the list of top rated movies$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
Then(/^that I am on the top rated movies page$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
Then(/^I select sort by number of ratings in the sort by box$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });
Then(/^the list should resort by number of ratings$/, function(callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });